﻿using System;

namespace XUCore.NetCore.DynamicWebApi
{
    [Serializable]
    [AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Method)]
    public class DynamicMethodAttribute : Attribute
    {
        /// <summary>
        /// 是否映射当前接口
        /// </summary>
        public bool IsVisible { get; set; } = true;

        public DynamicMethodAttribute() { }
    }
}
